/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2020-2021.
 * Description: acpi enable header file
 * Author: yanbo <joey.yanbo@huawei.com>
 * Create: 2020-11-19
 */

#ifndef ACPI_ENABLE_H
#define ACPI_ENABLE_H

static int acpi_enable(void)
{
#ifdef CONFIG_ACPI
	extern int acpi_disabled;

	return !acpi_disabled;
#endif
	return 0;
}
#endif
